package com.oa.item.biz;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.oa.item.dao.ItemMapper;
import com.oa.item.entity.Item;
import com.oa.item.entity.ItemWithBLOBs;

@Service
public class ItemBiz {
	@Resource
	private ItemMapper itemDao;
	
	public List<Item> selectAllItem(){
		return itemDao.selectAllItem();
	}
	
	public ItemWithBLOBs selectItemById(Integer id){
		return itemDao.selectByPrimaryKey(id);
	}
}
